home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000824-20010305 / 000342_news@columbia.edu _Thu Feb 22 14:46:30 2001.msg < prev    next >
Internet Message Format  |  2020-01-01  |  6KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
  3.     by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA26038
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Thu, 22 Feb 2001 14:46:29 -0500 (EST)
  5. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  6.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA17410
  7.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 22 Feb 2001 14:46:28 -0500 (EST)
  8. Received: (from news@localhost)
  9.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA06498
  10.     for kermit.misc@watsun.cc.columbia.edu; Thu, 22 Feb 2001 14:42:02 -0500 (EST)
  11. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  12. From: "Woot" <mymp3xyz@hotmail.com>
  13. Subject: Re: Filename conversions
  14. Message-ID: <3a955c70.0@209.4.12.42>
  15. Date: Thu, 22 Feb 2001 19:41:39 GMT
  16. Organization: Intermedia Business Internet - Beltsville, MD
  17. To: kermit.misc@columbia.edu
  18.  
  19. Here is the script I ended up with and it works fine.
  20.  
  21. SET MODEM TYPE DIRECT   ; (C-Kermit or Kermit 95)
  22. SET PORT COM1           ; (Or other communication port)
  23. SET SPEED 9600          ; (Serial port speed)
  24. SET CARRIER-WATCH OFF   ; (Don't require carrier)
  25. SET FLOW NONE           ; (Don't use flow control)
  26. SET PARITY NONE         ; (8 data bits, no parity)
  27. SET BLOCK 3             ; (if desired, or 2)
  28. SET CONTROL PREFIX ALL  ; (Necessary in Kermit 95)
  29. SET SEND TIMEOUT 20     ; (Or other number of seconds)
  30. SET SEND PAUSE 100      ; (Or other number of milliseconds)
  31. SET FILE COLLISION OVERWRITE
  32. SET FILE TYPE BINARY
  33. ENABLE DELETE BOTH ; needed to make collision overwrite work when HP48 sends
  34. file
  35. server
  36. exit
  37.  
  38. Thanks to everyone for their help.
  39.  
  40. "Jeffrey Altman" <jaltman@watsun.cc.columbia.edu> wrote in message
  41. news:973ap1$o63$1@newsmaster.cc.columbia.edu...
  42. > In article <971gs8$de0$1@samba.rahul.net>,  <dold@email.rahul.net> wrote:
  43. > : Woot <mymp3xyz@hotmail.com> wrote:
  44. > : : I'm having a great conversation with myself.... :)
  45. > : : If I "get" the file from the HP48 (putting the HP48 in server mode) it
  46. works
  47. > : : fine.
  48. > :
  49. > : The "file collision" setting would be on the receiving kermit, and have
  50. no
  51. > : effect on the sending kermit, correct?
  52. >
  53. > That is correct.  The File Collision options only affect the Kermit that
  54. > is performing either a RECEIVE or a GET operation.
  55. >
  56. > The problem was being experienced in this case is due to a combination
  57. > of the File Collision options and the default security provided by the
  58. > Kermit SERVER.
  59. >
  60. > The default settings for a Kermit SERVER are:
  61. >
  62. > Function:          Status:
  63. >  GET                Enabled
  64. >  SEND               Enabled
  65. >  MAIL               Enabled
  66. >  PRINT              Enabled
  67. >  REMOTE ASSIGN      Enabled
  68. >  REMOTE CD/CWD      Enabled
  69. >  REMOTE COPY        Enabled
  70. >  REMOTE DELETE      Remote only
  71. >  REMOTE DIRECTORY   Enabled
  72. >  REMOTE HOST        Remote only
  73. >  REMOTE QUERY       Enabled
  74. >  REMOTE MKDIR       Enabled
  75. >  REMOTE RMDIR       Remote only
  76. >  REMOTE RENAME      Enabled
  77. >  REMOTE SET         Enabled
  78. >  REMOTE SPACE       Enabled
  79. >  REMOTE TYPE        Enabled
  80. >  REMOTE WHO         Enabled
  81. >  BYE                Remote only
  82. >  FINISH             Enabled
  83. >  EXIT               Remote only
  84. >  ENABLE             Enabled
  85. >
  86. > The "Remote only" does not refer to the REMOTE command but to the mode
  87. > that the Kermit process executing the SERVER is operating in.  Kermit
  88. > can be executed in two modes: "remote" and "local".  Remote means that
  89. > Kermit was started on a remote host and is communicating across the
  90. > TTY device back to the client.  An example of this scenario is when
  91. > a Telnet client is used to connect to a Unix host and C-Kermit is
  92. > started from the command line for the purpose of transfering files with
  93. > the Telnet client.  This is Kermit operating in "remote" mode.
  94. >
  95. > Every other type of connection is Kermit running in "local" mode.
  96. > When Kermit 95 is used to make a telnet connection to a Unix host
  97. > it is running in "local" mode.  When C-Kermit is used to accept an
  98. > incoming connection with SET HOST * it is running in "local" mode.
  99. >
  100. > The Internet Kermit Service runs in "remote" mode.
  101. >
  102. > The status of "local" mode can be checked in a script with the
  103. > \v(local) variable.  It will be 1 when in local mode, and 0 when
  104. > in remote mode.
  105. >
  106. > How does the mode affect the problem experienced by Woot?  Here is the
  107. > configuration"
  108. >
  109. >  . SET FILE COLLISION OVERWRITE
  110. >
  111. >  . SERVER mode
  112. >
  113. >  . operating in "local" mode since Kermit established the connection
  114. >    to the HP-48
  115. >
  116. > Now the HP-48 tries to SEND a file to Kermit and we discover that Kermit
  117. > is not using OVERWRITE mode but instead uses RENAME mode.  Why?
  118. >
  119. > The SERVER is operating with an ENABLE DELETE REMOTE setting.  This means
  120. > that when the SERVER runs in "local" mode that file deletion is not
  121. > permitted.  Overwriting or even backing up a file requires an implicit
  122. > deletion of the original contents of the file.  Therefore, it cannot
  123. > be permitted.  So when SERVER mode is started the File Collision Overwrite
  124. > setting becomes File Collision Rename since that is the closest setting
  125. > that will allow the file transfer to proceed without violating the
  126. > stated server policy.
  127. >
  128. >  Jeffrey Altman * Sr.Software Designer      C-Kermit 7.1 Alpha available
  129. >  The Kermit Project @ Columbia University   includes Secure Telnet and FTP
  130. >  http://www.kermit-project.org/             using Kerberos, SRP, and
  131. >  kermit-support@kermit-project.org          OpenSSL.  SSH soon to follow.
  132.  
  133.